<%@page import = "com.ccs.MultipleChoice"%>
<%
        MultipleChoice[] mc = new MultipleChoice[5];

        //multiple choice
        mc[0] = new MultipleChoice("Defines the starting and ending point of a smooth transition", "key frame", "pointer", "layer", "library");
        mc[1] = new MultipleChoice("It is a feature in Flash which allows objects to move automatically", "motion tween", "motion pointer", "paint bucket", "stop();");
        mc[2] = new MultipleChoice("It is a way of selectively blocking areas of a layer", "eraser", "free transform tool", "masking", "overlap");
        mc[3] = new MultipleChoice("An Object that you create in Flash", "picture", "class", "symbol", "assets");
        mc[4] = new MultipleChoice("It organizes and controls a document's content over time in layers and frames", "layer", "timeline", "component", "panel");

        String mcItem = request.getParameter("mcItem");

        for (int i = 0; i < mc.length; i++)
            if ( Integer.parseInt(mcItem) == i )
                out.println(mc[i].getQuestion()+","+mc[i].getChoice1()+","+mc[i].getChoice2()+","+mc[i].getChoice3()+","+mc[i].getChoice4());

%>

